package logueo.service;

import fabricadao.DAOFactory;


import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

import logueo.bean.UsuarioDTO;
import logueo.interfaces.LogueoDAO;

import utilitarios.MiConexion;


public class ServicioLogueo {
	DAOFactory fabrica = DAOFactory.getDAOFactory(DAOFactory.MYSQL);
	LogueoDAO objLog = fabrica.getLogueoDAO();
	public UsuarioDTO login(String log, String pas) throws SQLException {
		// TODO Auto-generated method stub
		return objLog.login(log,pas);
	}
	

}
